package com.ssfGame.common
{
	import com.game.baseMc.BaseMc;
	
	import flash.text.TextField;
	
	public class Ball extends BaseMc
	{
		private var _txt:TextField;
		public function Ball(color:uint,name:String)
		{
			
			_txt=new TextField();
			addChild(_txt);
			_txt.text=name;
			this.graphics.beginFill(color);
			this.graphics.drawCircle(0,0,20);
			this.graphics.endFill();
		}
	}
}